package com.cloudkinto.service.platform.vo.product;

import com.cloudkinto.vo.sc.ErrorInfo;
import com.cloudkinto.vo.zone.ZoneTempRuleAddReq;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
public class PlatformProductImportRes {
//    @ApiModelProperty("成功列表")
//    List<ZoneTempRuleAddReq> successList;
    @ApiModelProperty("失败列表")
    List<ErrorInfo> errorList;
    @ApiModelProperty("失败文件url")
    private String failFileUrl;
    @ApiModelProperty("失败数量")
    private int failNum;
    @ApiModelProperty("文件名称")
    private String fileName;
    @ApiModelProperty("成功数量")
    private int successNum;
    @ApiModelProperty("总导入条数")
    private int amountNum;

    public int getAmountNum() {
        return failNum + successNum;
    }


}
